package com.jihu.design.behavioral.command;

/**
 * @author jihu
 * @date 2021/10/11
 */
public class OnlineCommand implements Command {

    private HugeReceiver receiver = new HugeReceiver();

    @Override
    public void execute() {
        System.out.println("我要去上(吹)课(牛)");
        receiver.online();
    }
}
